class Localizations {
  final locale;
  Localizations(this.locale);

  static Map<String, Map<String, String>> _localizedVal = {
    'en': {
      'title': 'Index Page'
    },
    'zh': {
      'title': '首页'
    }
  };

  get indexTitle{
    return _localizedVal[locale.languageCode]['title'];
  }
}